\section{Config\-File Class Reference}
\label{classConfigFile}\index{ConfigFile@{ConfigFile}}
Collaboration diagram for Config\-File:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=84pt]{classConfigFile__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Config\-File} (string filename, string delimiter=\char`\"{}=\char`\"{}, string comment=\char`\"{}\#\char`\"{}, string sentry=\char`\"{}End\-Config\-File\char`\"{})\label{classConfigFile_2690c3c6b72869b65d168791b28264dc}

\item 
{\bf Config\-File} ()\label{classConfigFile_9ce259defdfaabeedb2455849ca6bd1e}

\item 
template$<$class T$>$ T {\bf read} (const string \&key) const \label{classConfigFile_2c870b7009aa29208838fc73f8dde6af}

\item 
template$<$class T$>$ T {\bf read} (const string \&key, const T \&value) const \label{classConfigFile_58fe3e41915e8f119a91d51d5d369014}

\item 
template$<$class T$>$ bool {\bf read\-Into} (T \&var, const string \&key) const \label{classConfigFile_7526e5aad42677251502b67c579d1539}

\item 
template$<$class T$>$ bool {\bf read\-Into} (T \&var, const string \&key, const T \&value) const \label{classConfigFile_22b3d7f8312ca371631d75d803263f10}

\item 
template$<$class T$>$ void {\bf add} (string key, const T \&value)\label{classConfigFile_19311cc5817f42b2f985f2c2b72b3424}

\item 
void {\bf remove} (const string \&key)\label{classConfigFile_fca295f72101b138ad2702a11c342f37}

\item 
bool {\bf key\-Exists} (const string \&key) const \label{classConfigFile_fd3d1146ae212a7e5802961f5ad3fe91}

\item 
string {\bf get\-Delimiter} () const\label{classConfigFile_d5c780c8af0dc1c7cc701d1bbfe39dc2}

\item 
string {\bf get\-Comment} () const\label{classConfigFile_37b222022f77e1837b773a2e8ebed519}

\item 
string {\bf get\-Sentry} () const\label{classConfigFile_41cd2b14758fd3c647b4591cd7ded327}

\item 
string {\bf set\-Delimiter} (const string \&s)\label{classConfigFile_f28390aba7d8f399ac734c074e659b99}

\item 
string {\bf set\-Comment} (const string \&s)\label{classConfigFile_2e06b3000fb45426c975b334b2cee148}

\end{CompactItemize}
\subsection*{Protected Types}
\begin{CompactItemize}
\item 
typedef std::map$<$ string, string $>$::iterator {\bf mapi}\label{classConfigFile_91de4778982f558673be7465f33750f5}

\item 
typedef std::map$<$ string, string $>$::const\_\-iterator {\bf mapci}\label{classConfigFile_f606aa032e366450b81792da67c984fc}

\end{CompactItemize}
\subsection*{Static Protected Member Functions}
\begin{CompactItemize}
\item 
template$<$class T$>$ static string {\bf T\_\-as\_\-string} (const T \&t)\label{classConfigFile_0b2ef4a39ca6ea31d186c301f1f52700}

\item 
template$<$class T$>$ static T {\bf string\_\-as\_\-T} (const string \&s)\label{classConfigFile_741caa76c057b33332439cce2521b27e}

\item 
static void {\bf trim} (string \&s)\label{classConfigFile_6b445b393fcf42386a804fc4077fac10}

\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
string {\bf my\-Delimiter}\label{classConfigFile_d63f3e259f665192b64fb3e83c701425}

\item 
string {\bf my\-Comment}\label{classConfigFile_2c60a141e8ad012b86a0642ec8ec638d}

\item 
string {\bf my\-Sentry}\label{classConfigFile_f066ec1942c50848a055350029ebbca5}

\item 
std::map$<$ string, string $>$ {\bf my\-Contents}\label{classConfigFile_91b9b9e241d42bd3b1bb8b3e6355761f}

\end{CompactItemize}
\subsection*{Friends}
\begin{CompactItemize}
\item 
std::ostream \& {\bf operator$<$$<$} (std::ostream \&os, const {\bf Config\-File} \&cf)\label{classConfigFile_8ccacbc37db1992a5515e2c72fc83ce6}

\item 
std::istream \& {\bf operator$>$$>$} (std::istream \&is, {\bf Config\-File} \&cf)\label{classConfigFile_25042475439039e70f90febe7d0e63ec}

\end{CompactItemize}
\subsection*{Classes}
\begin{CompactItemize}
\item 
struct {\bf file\_\-not\_\-found}
\item 
struct {\bf key\_\-not\_\-found}
\end{CompactItemize}


\subsection{Detailed Description}




Definition at line 54 of file configfile.h.

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
configfile.h\item 
configfile.cpp\end{CompactItemize}
